package org.jeecg.modules.basic.entry.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_inout_record对象", description="出入管理")
public class Apartment implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
 /*
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private java.lang.String id;*/
    /*
    校区
     */
    @ApiModelProperty(value = "校区")
    private java.lang.String xq;
    /**
     * 楼号
     */
    @ApiModelProperty(value = "楼号")
    private java.lang.String lh;
    /**
     * 房间号
     */
    @ApiModelProperty(value = "房间号")
    private java.lang.String fjh;
    /**
     * 房间状态
     */
    @ApiModelProperty(value = "房间状态")
    private java.lang.String roomState;
    /**
     * 更新状态
     */
    @ApiModelProperty(value = "更新状态")
    private java.lang.String syncState;

    /**更新时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateDate;
}